#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
using namespace std;

void swap(int& x, int& y)
{
	int temp = x;
	x = y;
	y = temp;
}

//int& Add(int a, int b)
//{
//	int c = a + b;
//	return c;
//}

//int& func(int* pa)
//{
//	int a = (*pa)++;
//	return (*pa)++;
//}


int main()
{
	int a = 10;
	//int num = func(&a);
	//cout << num << endl;
	cout << a << endl;
	/*int a = 3;
	int b = 4;
	int& ra = a;
	cout << ra << endl;
	a = 10;
	cout << ra << endl;*/
	/*cout << a <<" "<<b << endl;
	swap(a, b);
	cout << a << " " << b << endl;*/
	/*int& ret = Add(1, 2);
	Add(3, 4) ;
	cout << "Add(1, 2) is :" << ret << endl;
	cout << "Add(1, 2) is :" << ret << endl;*/
	return 0;
}